package com.guinea.system.service;

import java.io.Serializable;
import com.guinea.core.orm.HibernateDao;
import com.guinea.core.service.EntityService;
import com.guinea.system.dao.ContactDao;
import com.guinea.system.entity.Contact;

public class ContactService extends EntityService {
	private ContactDao contactDao;

	public Contact getContact(Serializable id) {
		return (Contact) getContactDao().get(id);
	}

	public HibernateDao getEntityDao() {
		return contactDao;
	}

	public ContactDao getContactDao() {
		return contactDao;
	}

	public void setContactDao(ContactDao contactDao) {
		this.contactDao = contactDao;
	}
	
}
